<html>
<head>
    <link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
    <p>
        The <span class="control">Code | Move Statement Up/Down</span> actions are useful for reorganizing the code lines in your file, e.g., for bringing a variable declaration closer to variable usage.
    </p>
    <p>
        Select a code fragment and press <span class="shortcut">&shortcut:MoveStatementUp;</span> or <span class="shortcut">&shortcut:MoveStatementDown;</span>.
    </p>
    <p>
        The following picture shows an initial location of a code fragment:
    </p>
    <p class="image">
        <img src="images/move_up_down_witharrows_initial.png">
    </p>
    <p>
        The results of moving the selected fragment up:
    </p>
    <p class="image">
        <img src="images/move_up_down_witharrows_up.png">
    </p>
    <p>
        And the results of moving the selected fragment down:
    </p>
    <p class="image">
        <img src="images/move_up_down_witharrows_down.png">
    </p>
    <p>
        When nothing is selected in the editor, the line at the caret position will be moved.
    </p>
</body>
</html>

